<template>
	<view>
		<text>新页面</text>
		<view>user:{{userName}}</view>
		<view>id:{{userId}}</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				titile:'新建的页面',
				userName:"",
				userId:0
			}
		},
		onLoad(options) {
			console.log("newpage-->onLoad--->" + JSON.stringify(options));//值传不过去!!!!!!!
		},
		onShow() {
			console.log("newpage-->onShow-->");
		},
		methods: {
			
		}
	}
</script>

<style>

</style>
